package com.qf.admin.web.system.mapper;

import com.qf.admin.web.system.domain.entity.SysPermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.admin.web.system.domain.vo.MenuOptions;
import com.qf.admin.web.system.domain.vo.PermOptions;

import java.util.List;

/**
* @author sin
* @description 针对表【sys_permission(权限表)】的数据库操作Mapper
* @createDate 2024-06-11 11:35:22
* @Entity com.qf.admin.web.system.domain.entity.SysPermission
*/
public interface SysPermissionMapper extends BaseMapper<SysPermission> {


    List<String> selectPermsByUserId(Long uid);

    List<MenuOptions> getBtnOptions();

    List<PermOptions> selectPermByRoleId(Long roleId);

    List<Long> getBtnIds();

    SysPermission getPermsById(Long id);
}




